package com.mall.project.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.project.sys.model.entity.QuartzJobLog;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 定时任务调度日志表 Mapper 接口
 * </p>
 *
 * @author Sam
 * @since 2021-02-08
 */
public interface QuartzJobLogMapper extends BaseMapper<QuartzJobLog> {

    /**
     * 清空日志
     */
    @Update("truncate table sys_quartz_job_log")
    void cleanJobLog();
}
